<?php
require_once ('controller/Controller.php');
require_once ('lib/DB.php');

abstract class PersistentController extends Controller
{
	public function __construct() {
		parent::__construct();

		// Apre la connessione al database
		$db = DB::getDB();
		$db->connect();
	}
}